package com.tax.dto.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @ClassName SmsCodeParam
 * @Author lim@udiannet.com
 * @DATE 2019-09-20
 * @Version 1.0
 **/
@Data
public class SmsCodeReq {

    @ApiModelProperty(value = "手机号码", required = true)
    @NotBlank(message = "手机号码")
    private String telephone;

    @ApiModelProperty(value = "验证码类型, sms:短信验证码, voice:语音验证码")
    //@NotBlank(message = "验证码类型不能为空")
    private String type;

    @ApiModelProperty(value = "校验字符串", required = true)
    //@NotBlank(message = "签名字符不能为空")
    private String sign;
}
